# -*- coding: utf-8 -*-#
__author__ = 'yangq'

import time
import random
# 生成nonce_str
def getnonce_str():
    nowdt = str(int(time.time()))
    randomstr = str(random.randint(1000,9999))
    print nowdt
    print randomstr
    nonce_str = ''.join([nowdt, randomstr])
    return nonce_str

print getnonce_str()
